﻿<template>
    <div class="container">
        <Category title1="游戏">
            <template scope="bili">
                <ul>
                    <li v-for="(b,index) in bili.games" :key="index">{{b}}</li>
                </ul>
            </template>
        </Category>

        <Category title1="游戏">
            <template scope="bili">
                <ol>
                    <li v-for="(b,index) in bili.games" :key="index" style="color:red;">{{b}}</li>
                </ol>
            </template>
        </Category>

        <Category title1="游戏">
            <template scope="bili">
                <h4 v-for="(b,index) in bili.games" :key="index" style="color:red;">{{b}}</h4>
            </template>
        </Category>
    </div>
</template>

<script>
    import Category from '@/components/Category'
    export default {
        name:'App',
        components:{Category},
        
    }
</script>

<style lang="css">
    .container,.foot{
        display: flex;
        justify-content: space-around;/*主轴对齐方式 */
    }
    h3{
        text-align: center;
        background-color: orange;
    }
    video{
        width: 100%;
    }
    h4{
        display: flex;
        justify-content: center;
    }
</style>